<?php


namespace app\controller;


use App\Repository\Repository;
use app\repository\WebsocketLogsRepository;
use support\Request;

class WebsocketLogsController extends BaseController
{
    protected $repository;


    public function __construct(WebsocketLogsRepository $repository)
    {

        $this->repository = $repository;
    }

    public function list(Request $request)
    {
        $data = $this->getPageInfo();
        $list = $this->repository->list($data);
        return $this->res($list);
    }

}